﻿ALTER TABLE [dbo].[UndeliveredMessages]
    ADD CONSTRAINT [FK_UndeliveredMessages_FromUser] FOREIGN KEY ([from_user_id]) REFERENCES [dbo].[UserInfo] ([user_id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

